Skip to main content
POST
Save a Meta partnership ad code a creator sent

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Headers

Idempotency-Key
string

Client-chosen key; replaying the same key + body returns the original response, a different body returns 409.

Body

application/json
postId
string
required

The ID of the creator's Instagram post, as SideShift tracks it.

partnershipAdCode
string
required

The partnership ad code the creator sent.

creatorUsername
string
postLabel
string
sourcePostUrl
string
destinationUrl
string
launchMode
enum<string>
default:partnership
Available options:
partnership,
whitelist

Response

Success. Returns the saved identity's identityId.

The response is of type object.