Connect an account (native authentication)Parameters:
Parameter
Type
Required
Default
Description
body
object
Yes
—
The parameters required to perform the authentication depend on the type of account you are trying to connect.
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "body": { "description": "The parameters required to perform the authentication depend on the type of account you are trying to connect." } }, "required": [ "PCID", "body" ]}
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "id": { "type": "string", "description": "The id of the webhook to be deleted." } }, "required": [ "PCID", "id" ]}
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "id": { "type": "string", "description": "The id of the account to retrieve." } }, "required": [ "PCID", "id" ]}
A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.
limit
integer
No
—
A limit for the number of items returned in the response. The value can be set between 1 and 250.
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "cursor": { "type": "string", "description": "A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved." }, "limit": { "type": "integer", "description": "A limit for the number of items returned in the response. The value can be set between 1 and 250." } }, "required": [ "PCID" ]}
A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.
limit
integer
No
—
A limit for the number of items returned in the response. The value can be set between 1 and 250.
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "cursor": { "type": "string", "description": "A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved." }, "limit": { "type": "integer", "description": "A limit for the number of items returned in the response. The value can be set between 1 and 250." } }, "required": [ "PCID" ]}
The parameters required to perform the authentication depend on the type of account you are trying to connect.
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "id": { "type": "string", "description": "The id of the account to reconnect." }, "body": { "description": "The parameters required to perform the authentication depend on the type of account you are trying to connect." } }, "required": [ "PCID", "id", "body" ]}
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "id": { "type": "string", "description": "The id of the account to restart." } }, "required": [ "PCID", "id" ]}
The number of chats to be synchronized in a single chunk. Supported for LinkedIn and Telegram.
partial
boolean
No
—
LinkedIn only. Whether the account should be partially resynchronized (keeping already synced data) or fully resynchronized.
linkedin_product
string
No
—
LinkedIn only. The LinkedIn messaging feature to synchronize. Leave blank to process all connected features.
before
number
No
—
The end of the time span (lowest Epoch time in ms). Supported for LinkedIn and Telegram.
after
number
No
—
The start of the time span (highest Epoch time in ms). Supported for LinkedIn and Telegram.
account_id
string
Yes
—
The id of the account to resynchronize.
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "chunk_size": { "type": "number", "description": "The number of chats to be synchronized in a single chunk. Supported for LinkedIn and Telegram." }, "partial": { "type": "boolean", "description": "LinkedIn only. Whether the account should be partially resynchronized (keeping already synced data) or fully resynchronized." }, "linkedin_product": { "type": "string", "description": "LinkedIn only. The LinkedIn messaging feature to synchronize. Leave blank to process all connected features.", "enum": [ "classic", "recruiter", "sales_navigator" ] }, "before": { "type": "number", "description": "The end of the time span (lowest Epoch time in ms). Supported for LinkedIn and Telegram." }, "after": { "type": "number", "description": "The start of the time span (highest Epoch time in ms). Supported for LinkedIn and Telegram." }, "account_id": { "type": "string", "description": "The id of the account to resynchronize." } }, "required": [ "PCID", "account_id" ]}
The code to solve the checkpoint. If the code is a phone number, it should be preceded by the international dialling code in brackets (e.g. (+33)0612345678 for France). If you need to switch to a different type of checkpoint, enter TRY_ANOTHER_WAY here (e.g. from In app validation to 2FA).
provider
string
Yes
—
The provider value
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "account_id": { "type": "string", "description": "A unique identifier." }, "code": { "type": "string", "description": "The code to solve the checkpoint. If the code is a phone number, it should be preceded by the international dialling code in brackets (e.g. (+33)0612345678 for France). If you need to switch to a different type of checkpoint, enter TRY_ANOTHER_WAY here (e.g. from In app validation to 2FA)." }, "provider": { "type": "string", "description": "The provider value", "enum": [ "LINKEDIN", "INSTAGRAM", "TWITTER", "MESSENGER" ] } }, "required": [ "PCID", "account_id", "code", "provider" ]}