cURL
curl --request POST \ --url https://api.spacebring.com/visitors/contacts/v1 \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "contact": { "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "visitor": { "email": "<string>", "name": "<string>", "phoneNumber": "<string>", "surname": "<string>" } } } '
{ "contact": { "contact": { "createDate": "2023-11-07T05:31:56Z", "date": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "userRefVisitor": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "visitor": { "email": "<string>", "name": "<string>", "phoneNumber": "<string>", "surname": "<string>" } } } }
Create a contact.
visitors
See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
Show child attributes
Created