Create an Apple Messages for Business record
POST
/v1/amb/business-accounts
const result = await bird.amb.businessAccounts.create({
name: "Acme Retail",
apple_business_id: "b52d6267-2b62-4f8a-8842-0533d0f1dc07",
});
console.log(result);result = client.amb.business_accounts.create(name='Acme Retail', apple_business_id='b52d6267-2b62-4f8a-8842-0533d0f1dc07')
print(result)result, err := client.Amb.BusinessAccounts.Create(ctx, bird.AmbBusinessAccountsCreateParams{Name: "Acme Retail", AppleBusinessID: bird.Ptr("b52d6267-2b62-4f8a-8842-0533d0f1dc07")})
if err != nil {
log.Fatal(err)
}
fmt.Println(result)$bird->amb->businessAccounts->create((new Model\AMBBusinessAccountCreate())->setName('Acme Retail')->setAppleBusinessId('b52d6267-2b62-4f8a-8842-0533d0f1dc07'));bird amb business-accounts create --name 'Acme Retail'curl -X POST "https://us1.platform.bird.com/v1/amb/business-accounts" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Retail"
}'响应201
{
"id": "abz_01krdgeqcxet5s7t44vh8rt9mg",
"apple_business_id": "b52d6267-2b62-4f8a-8842-0533d0f1dc07",
"name": "Acme Retail",
"status": "active",
"invitations_enabled": false,
"created_at": "2026-08-20T09:14:52Z",
"updated_at": "2026-08-25T16:42:01Z",
"next": [
{
"kind": "operation"
}
],
"account_review_status": "approved"
}
Creates an Apple Messages for Business record in your workspace. Each
Apple Business ID can belong to only one retained business record in this region.
Disconnecting an account does not release its identifier.
The account starts with status: pending and no account_review_status,
including when you supply apple_business_id. Upload the required evidence
and create a submission to begin review. The account remains pending until
approved; its submission records review progress.
请求载荷
name
string
必填
The brand name shown for this business record inside Bird.
apple_business_id
string
The Business ID Apple issued for this brand, if you already have it. Supplying it identifies the draft. Submit the completed evidence requirements explicitly when the business is ready for review.
响应载荷
id
string
必填
Unique identifier for the business record.
apple_business_id
nullable string
必填
Apple business UUID, or null until supplied. Adding this identifier does not submit the account for review.
name
string
必填
Customer-supplied account name used in Bird. Apple controls the name shown to customers in Messages.
status
string
必填
Operational state of the business account.
Possible values: pending, active, suspended, disconnected
status_reason
string
Reason for the current operational suspension, when recorded. Review feedback is retained on the submission.
invitations_enabled
boolean
必填
Whether Apple has granted invitation access. Sending also requires an active account and eligible recipient.
created_at
string
必填
When the business record was created.
updated_at
string
必填
When the business record was last changed.
next
array of object
Next setup actions on create, update and single-account reads. Active accounts return an empty array. Lists omit this field.
显示子属性
next.kind
string
必填
What you do about this step.
- operation: call the operation named in operation, then read again.
- external: act somewhere this API does not reach, then read again.
- wait: nothing is asked of you, so read again later.
- terminal: nothing you do resolves this, so stop retrying.
Tolerate a value you do not recognize: show the description and
offer no action.
Possible values (may grow over time): operation, external, wait, terminal
next.description
string
必填
A short, human-readable label for the step, suitable for display.
next.operation
string
The operationId to call. Present only when kind is operation. The operation's own schema says how to call it; this says only which one, and what to address it with.
next.params
object
The parameters that address the operation, by name: {"sender_id": "…"} for an operation on /v1/sms/senders/{sender_id}/requirements. A parameter the operation takes in its query string is given the same way, so an operation addressed as ?subject_id= carries {"subject_id": "…"}. Every parameter the call needs is here, whether its value came from the thing you were acting on or is fixed for this step, so you can make the call from this object alone. Present only when kind is operation and the operation names a subject. A request body, when the operation takes one, is described by the operation's own schema and never appears here.
next.url
string
A URL to open. Present only when kind is external, and only when the step has one. An external step whose description says to go and do something with no URL to open is normal.
account_review_status
string
Latest recorded review outcome. Absent before the first submission.
Possible values (may grow over time): pending, approved, rejected
finish_setup_url
string
Bird dashboard URL for completing setup. Present only when customer action is available.