Openapi
Add a linked contact to a customer.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
customerId*stringuuidorganizationId*stringuuidThe customer contact payload.
application/jsonemail?|emaillength <= 320firstName?|length <= 120isPrimary?booleanjobTitle?|length <= 120lastName?|length <= 120phone?|length <= 20Returns the created customer contact.
application/jsoncontactProfile*createdAt*stringdate-timecustomerId*customerIdSchemauuidid*stringuuidisPrimary*booleanjobTitle*string|nullnotes*string|nullorganizationId*organizationIdSchemauuidupdatedAt*stringdate-timecurl -X POST 'https://app.localhost/api/v1/organizations/123/customers/123e4567-e89b-12d3-a456-426614174000/contacts' \ -H 'Content-Type: application/json' \ -d '{}'{ "contactProfile": { "avatarUrl": "string", "contactMethods": [ { "createdAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isPrimary": true, "label": "string", "position": 0, "type": "email", "updatedAt": "2019-08-24T14:15:22Z", "value": "string", "verifiedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "displayName": "string", "firstName": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "lastName": "string", "updatedAt": "2019-08-24T14:15:22Z", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" }, "createdAt": "2019-08-24T14:15:22Z", "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isPrimary": true, "jobTitle": "string", "notes": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "updatedAt": "2019-08-24T14:15:22Z"}