Create Tag
Copied
https://api.ocamba.com/v1/hood/tags
Copied
https://api.ocamba.com/v1/hood/tags
Creates a Tag
Name
Descriptionaccount_idstringrequired
The ID of the Account, generated by the Ocamba.Example: 1000001
appsapps
All apps that belongs to the Tag, categorized by type.Apps
Name
Descriptionandroid[ string ]
Array of Android applications. Every item in array must be a valid Android app unique identifier (Package name). Android app names are case sensitive.ios[ string ]
Array of IOS applications. Every item in array must be a valid IOS app unique identifier (Bundle ID). iOS app names are case sensitive.web[ string ]
Array of Web applications. Every item in array must be a fully qualified domain name. Web app names are case insensitive and are sanitized to be lowercase.descriptionstring
The more detailed description of the Tag.Example: This is my first tag.
namestringrequired
The name of the tag, provided by the client.Example: Demo Tag
settingsobjectrequired
Name
Descriptiongeneralobject
Name
Descriptionanalyticsboolean
Example: true
Default: true
consentboolean
Example: true
Default: true
crashlyticsboolean
Example: true
Default: true
include_subdomainsboolean
Example: true
Default: true
pushboolean
Example: true
Default: true
webobject
Name
Descriptionpush_keystring
Example: KKV4lql8gxn0lC6NLiLWMSgGq9Orq7ZVYsbbspNlNthspH_Uul5DzG9nx_zUvRiCvox8bLfhvjYbqWfDv9iqbLze
statusstringrequired
The status of the tag. Statuses inactive, pending and disabled are deprecated and will be removed in the future. Prefer using active, verification, rejected or paused.Example: active
Possible values: active verification rejected paused inactive pending disabled
Default: active
201 - Created
note
1 Web app names are sanitized to be all lowercase.
Android and iOS app names stay the same.
Mandatory fields are Tag Name and Account.