Fans
Reference generated from the OpenAPI contract: Fans.
Les étiquettes de fans d'une créatrice
GET /public/v1/creators/{creator_id}/labels · listFanLabels
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
creator_id | path | string | yes | Identifiant de la créatrice. |
platform | query | "mym" | "telegram" | no | La plateforme du fan. (default : mym) |
Response 200
Page_FanLabel_
| Field | Type | Required | Description |
|---|---|---|---|
items | FanLabel[] | yes | |
nextCursor | string | null | no | À repasser en cursor pour lire la page suivante ; null = dernière page. |
FanLabel
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
color | string | yes |
Possible errors
401 · 403 · 404 · 422 · 429 · 503 — Error format: Errors.
Example
curl -X GET "https://app.fanconvert.ai/public/v1/creators/{creator_id}/labels" \
-H "Authorization: Bearer $FANCONVERT_API_KEY"La fiche d'un fan : étiquettes et note de l'équipe
GET /public/v1/creators/{creator_id}/fans/{conversation_id} · getFan
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
creator_id | path | string | yes | Identifiant de la créatrice. |
conversation_id | path | string | yes | Identifiant de la conversation. |
platform | query | "mym" | "telegram" | no | La plateforme du fan. (default : mym) |
Response 200
FanCard
| Field | Type | Required | Description |
|---|---|---|---|
conversationId | string | yes | |
platform | "mym" | "telegram" | yes | |
labels | FanLabel[] | yes | |
note | TeamNote | yes |
FanLabel
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
color | string | yes |
TeamNote
| Field | Type | Required | Description |
|---|---|---|---|
text | string | null | yes | |
revision | integer | yes | À renvoyer en expectedRevision pour écrire. |
updatedAt | string (date-time) | null | yes |
Possible errors
401 · 403 · 404 · 422 · 429 · 503 — Error format: Errors.
Example
curl -X GET "https://app.fanconvert.ai/public/v1/creators/{creator_id}/fans/{conversation_id}" \
-H "Authorization: Bearer $FANCONVERT_API_KEY"Écrire la note de l'équipe sur un fan
PUT /public/v1/creators/{creator_id}/fans/{conversation_id}/note · putFanNote
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
creator_id | path | string | yes | Identifiant de la créatrice. |
conversation_id | path | string | yes | Identifiant de la conversation. |
platform | query | "mym" | "telegram" | no | La plateforme du fan. (default : mym) |
Request body
TeamNoteWrite
| Field | Type | Required | Description |
|---|---|---|---|
text | string | yes | La note, 1 000 caractères au plus ; vide = retirée. |
expectedRevision | integer | yes | La revision lue : une autre écriture entre-temps → 409. |
Response 200
FanCard
| Field | Type | Required | Description |
|---|---|---|---|
conversationId | string | yes | |
platform | "mym" | "telegram" | yes | |
labels | FanLabel[] | yes | |
note | TeamNote | yes |
FanLabel
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
color | string | yes |
TeamNote
| Field | Type | Required | Description |
|---|---|---|---|
text | string | null | yes | |
revision | integer | yes | À renvoyer en expectedRevision pour écrire. |
updatedAt | string (date-time) | null | yes |
Possible errors
401 · 403 · 404 · 409 · 422 · 429 · 503 — Error format: Errors.
Example
curl -X PUT "https://app.fanconvert.ai/public/v1/creators/{creator_id}/fans/{conversation_id}/note" \
-H "Authorization: Bearer $FANCONVERT_API_KEY" \
-H "Content-Type: application/json" \
-d '{ … }'Poser une étiquette sur un fan (sans effet si elle y est déjà)
PUT /public/v1/creators/{creator_id}/fans/{conversation_id}/labels/{label_id} · addFanLabel
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
creator_id | path | string | yes | Identifiant de la créatrice. |
conversation_id | path | string | yes | Identifiant de la conversation. |
label_id | path | string | yes | Identifiant de l'étiquette. |
platform | query | "mym" | "telegram" | no | La plateforme du fan. (default : mym) |
Response 200
FanCard
| Field | Type | Required | Description |
|---|---|---|---|
conversationId | string | yes | |
platform | "mym" | "telegram" | yes | |
labels | FanLabel[] | yes | |
note | TeamNote | yes |
FanLabel
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
color | string | yes |
TeamNote
| Field | Type | Required | Description |
|---|---|---|---|
text | string | null | yes | |
revision | integer | yes | À renvoyer en expectedRevision pour écrire. |
updatedAt | string (date-time) | null | yes |
Possible errors
401 · 403 · 404 · 409 · 422 · 429 · 503 — Error format: Errors.
Example
curl -X PUT "https://app.fanconvert.ai/public/v1/creators/{creator_id}/fans/{conversation_id}/labels/{label_id}" \
-H "Authorization: Bearer $FANCONVERT_API_KEY"Retirer une étiquette d'un fan
DELETE /public/v1/creators/{creator_id}/fans/{conversation_id}/labels/{label_id} · removeFanLabel
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
creator_id | path | string | yes | Identifiant de la créatrice. |
conversation_id | path | string | yes | Identifiant de la conversation. |
label_id | path | string | yes | Identifiant de l'étiquette. |
platform | query | "mym" | "telegram" | no | La plateforme du fan. (default : mym) |
Response 200
FanCard
| Field | Type | Required | Description |
|---|---|---|---|
conversationId | string | yes | |
platform | "mym" | "telegram" | yes | |
labels | FanLabel[] | yes | |
note | TeamNote | yes |
FanLabel
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
color | string | yes |
TeamNote
| Field | Type | Required | Description |
|---|---|---|---|
text | string | null | yes | |
revision | integer | yes | À renvoyer en expectedRevision pour écrire. |
updatedAt | string (date-time) | null | yes |
Possible errors
401 · 403 · 404 · 409 · 422 · 429 · 503 — Error format: Errors.
Example
curl -X DELETE "https://app.fanconvert.ai/public/v1/creators/{creator_id}/fans/{conversation_id}/labels/{label_id}" \
-H "Authorization: Bearer $FANCONVERT_API_KEY"Last updated on