GET / Contact Segments
GET /v2/field/create/{listId}
Header
HTTP/1.1
Authorization: Bearer $api_id.$api_secret
Host: api.$app_domain
Accept: application/json
Parameters
listId |
The contact list ID that you're new data field property will be created in. |
type |
text, number or datetime |
name |
The name of your new data field property. |
Request
POST /v2/field/create/{listId}
HTTP/1.1 Authorization: Bearer {$key}.{$secret}
Host: {api.app.domain}
Accept: application/json
Content-Type: application/json
{
"type": "text",
"name": "Field Name"
}
Response
{
"id": "3001",
"message": "Success!"
}
Error code
HTTP/1.1 404 Not Found
{
"id": "0",
"message": "Error description"
}
Comments
0 comments
Please sign in to leave a comment.