---
title: "Label an account"
method: POST
path: "/socials/accounts/{id}/label"
tags: ["Socials"]
---

# Label an account

`POST /socials/accounts/{id}/label`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/socials/accounts/{id}/label`
- Auth: API key in header `Authorization`

Assigns a custom label to a connected account and returns it.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `label` string, required

## Response `200`

Updated account

- SocialAccount
  - `object` string, required
  - `id` string, required
  - `platform` 'twitter' | 'linkedin' | 'instagram' | 'facebook' | 'youtube' | 'tiktok' | 'pinterest' | 'threads' | 'reddit' | 'bluesky' | 'metaads' | 'tiktokads' | 'googleads' | 'linkedinads' | 'pinterestads' | 'xads' | 'openaiads', required
  - `username` string, nullable, required
  - `display_name` string, nullable, required
  - `avatar_url` string, nullable, required
  - `external_id` string, nullable, required
  - `label` string, nullable, required
  - `status` 'active' | 'inactive' | 'error', required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
